scoreboard players add @a[team=red] winCount 1
function vs:system/game/over